package cn.itrip.biz.service;

import cn.itrip.beans.domain.ItripHotelRoom;
import cn.itrip.beans.vo.SearchHotelRoomVO;
import com.itrip.dao.ItripHotelRoomMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HotelRoomService {
    @Resource
    private ItripHotelRoomMapper itripHotelRoomMapper;

    public List<SearchHotelRoomVO> getItripHotelRoomListByMap(SearchHotelRoomVO vo) {
        return itripHotelRoomMapper.getItripHotelRoomListByMap(vo);
    }

    public ItripHotelRoom selectById(Long roomId) {
        return itripHotelRoomMapper.selectById(roomId);
    }
}
